﻿<%@ Control Language="C#"  %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
	<div class="<%=CssClass %>"><div class="<%=CssClass %>a"><div class="<%=CssClass %>b"><div class="<%=CssClass %>c"><div class="<%=CssClass %>d"><div class="<%=CssClass %>e"><div class="<%=CssClass %>f"><div class="<%=CssClass %>g"><div class="<%=CssClass %>h">
	<div class="<%=CssClass %>-c"><div class="<%=CssClass %>-w"></div>
	<%HtmlBlock method = "processList"; %>
		<div id="article" class="FileAttachGroupBox">
		<swf:ReadOnlyText CssClass="title" ID="displayArticle_title" runat="server" /><br />
		<swf:ReadOnlyText CssClass="body" ID="displayArticle_body" runat="server"  Width="100%" Height="100%" />
		
		<table>
		<%HtmlBlock method = "processFileList"; %>
			<tr>
			<td style="vertical-align:middle"><asp:Image runat="server" ID="fileImageUrl" /></td>
			<td style="vertical-align:middle">
			<%Conditional on = "IsAuthorizedForFile==True"; %>
				<asp:HyperLink runat="server" id="filePathName" Text="$displayName$" NavigateUrl="$fileUrl$" />
			<%EndConditional; %>				
			<%Conditional on = "IsAuthorizedForFile==False"; %>
				<asp:Label runat="server" id="displayName" />
			<%EndConditional; %>				
			</td>
			<td style="vertical-align:middle">
				<asp:Label runat="server" ID="size" />
			</td>
			</tr>
		<%EndHtmlBlock; %>
		</table>
		</div>
		<br clear="all" />
    <%EndHtmlBlock; %>
    </div></div></div></div></div></div></div></div></div></div>
